<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>用户主界面</title>
  <link rel="stylesheet" href="/css/bootstrap.css" th:href="@{/css/bootstrap.css}"/>
</head>
<body class="container">
<h1>欢迎<p th:text="${user.username}"/>登录成功</h1>

<br><br>
<h1>选择你要使用的功能</h1>
<br><br>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/order/historyIndents(id = ${user.id})}" class="btn btn-info">历史订单</a>
  </div>
</div>
<br><br>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/landlord/apartmentListForUser(username=${user.username})}" class="btn btn-info">查看房屋</a>
  </div>
</div>
<br><br>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/user/collect(id=${user.id})}" class="btn btn-info">我的收藏</a>
  </div>
</div>
<br><br>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/user/userDetail(username=${user.username})}" class="btn btn-info">个人中心</a>
  </div>
</div>
<br><br>
<div class="form-group">
  <div class="col-sm-2 control-label" >
    <a th:href="@{/user/exit}" class="btn btn-info">退出登录</a>
  </div>
</div>
<br><br>
</body>
</html>